package com.yuntai.pms.model.enums;

public enum OperType {

    ADD("add", "新增"),
    EDIT("edit", "编辑"),
    INFO("info", "查看");


    private String code;
    private String name;

    private OperType(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
